|
Umístění Menu |
---|
Arch → Osy |
Pracovní stoly |
Architektura |
Výchozí zástupce |
A X |
Představen ve verzi |
- |
Viz také |
Nikdo |
Nástroj Osy Vám umožňuje umístit osový systém do aktuálního dokumentu. Vzdálenosti a úhel mezi osami je uživatelsky nastavitelný, stejně jako styl číslování. Osy slouží především jako reference k uchopování objektů, ale může taky být použit společně se strukturami k vytváření parametrizovaných polí příčníků nebo sloupů.
Two axes objects positioned perpendicularly to each other to create a grid
By setting the Bubble Position property to Arrow left/right or Bar left/right, the axis will display a filled arrow or bar instead of the bubble, so it can be used as a section mark. introduced in version 0.20
Nástroj Osy může být využit v makrech a z konzoly Pythonu použitím následující funkce:
Axes = makeAxis(num=5, size=1000, name="Axes")
Příklad:
import Draft, Arch
Axes = Arch.makeAxis(5, 1000)
Axes.ViewObject.LineWidth = 3
Axes.ViewObject.BubbleSize = 200
Axes.ViewObject.FontSize = 150
Axes2 = Arch.makeAxis(6, 500)
Axes2.ViewObject.LineWidth = 2
Axes2.ViewObject.BubbleSize = 200
Axes2.ViewObject.FontSize = 150
Axes2.ViewObject.NumberingStyle = "A,B,C"
FreeCAD.ActiveDocument.recompute()
Axes2.Length = 6000
Draft.rotate(Axes2, -90)
Draft.move(Axes2, FreeCAD.Vector(-1000, 2500, 0))
FreeCAD.ActiveDocument.recompute()